package com.chain.BrotherExchange.data.model;

import java.io.Serializable;

public class UserPayment extends BaseResponseModel<UserPayment.DataBean> {

    public static class DataBean  {
        /**
         * setpays : {"ali_pay":1,"bank_pay":0,"paypal_pay":0,"wechat_pay":0}
         */

        private SetpaysBean setpays;

        public SetpaysBean getSetpays() {
            return setpays;
        }

        public void setSetpays(SetpaysBean setpays) {
            this.setpays = setpays;
        }

        public static class SetpaysBean implements Serializable{
            /**
             * ali_pay : 1
             * bank_pay : 0
             * paypal_pay : 0
             * wechat_pay : 0
             */

            private int ali_pay;
            private int bank_pay;
            private int paypal_pay;
            private int wechat_pay;

            public int getAli_pay() {
                return ali_pay;
            }

            public void setAli_pay(int ali_pay) {
                this.ali_pay = ali_pay;
            }

            public int getBank_pay() {
                return bank_pay;
            }

            public void setBank_pay(int bank_pay) {
                this.bank_pay = bank_pay;
            }

            public int getPaypal_pay() {
                return paypal_pay;
            }

            public void setPaypal_pay(int paypal_pay) {
                this.paypal_pay = paypal_pay;
            }

            public int getWechat_pay() {
                return wechat_pay;
            }

            public void setWechat_pay(int wechat_pay) {
                this.wechat_pay = wechat_pay;
            }

            public boolean isSetPayment() {
                return ali_pay == 0 && bank_pay == 0 && wechat_pay == 0 && paypal_pay == 0;
            }
        }
    }
}
